package com.mocoop.plugin;

import org.apache.cordova.CordovaPlugin;

import com.mocoop.activity.MocoopActivity;


public class MocoopPlugin extends CordovaPlugin{
	public MocoopActivity getActivity(){
		return (MocoopActivity)cordova.getActivity();
	}
	
	public void runOnUiThread(Runnable runnable){
		getActivity().runOnUiThread(runnable);
	}
	
	
    
    public String getUserID(){
    	return getActivity().getUserID();
    }
    
}
